package com.tju.shortlink.project.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.tju.shortlink.project.common.database.BaseDo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mxl
 * @since 2024-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_link_locale_stats")
@Schema(name="TLinkLocaleStats对象", description="TLinkLocaleStats对象")
public class LinkLocaleStatsDO extends BaseDo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "完整短链接")
    private String fullShortUrl;

    @Schema(description = "日期")
    private Date date;

    @Schema(description = "访问量")
    private Integer cnt;

    @Schema(description = "省份名称")
    private String province;

    @Schema(description = "市名称")
    private String city;

    @Schema(description = "城市编码")
    private String adcode;

    @Schema(description = "国家标识")
    private String country;

}
